﻿using PdfiumViewer;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace rpt
{
    public partial class Form3 : Form
    {
        string ss;
        public Form3(string s)
        {
            InitializeComponent();
            this.ss = s;
        }

        private void Form3_Load(object sender, EventArgs e)
        {
            pdfViewer1.Document = PdfDocument.Load(Application.StartupPath + "\\" + ss + ".pdf");
        }
    }
}
